import { Moment } from 'moment';

export interface IHdfsLog {
  id?: number;
  name?: string;
  src?: string;
  dst?: string;
  totalSize?: number;
  currentSize?: number;
  process?: number;
  state?: number;
  desc?: string;
  createdDate?: Moment;
}

export class HdfsLog implements IHdfsLog {
  constructor(
    public id?: number,
    public name?: string,
    public src?: string,
    public dst?: string,
    public totalSize?: number,
    public currentSize?: number,
    public process?: number,
    public state?: number,
    public desc?: string,
    public createdDate?: Moment
  ) {}
}
